package com.day17.FileOutputStream;

import java.io.FileOutputStream;
import java.io.IOException;

public class FileOutputStreamDemo03 {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("myByteStream\\fos.txt",true);
        for(int i=0;i<10;i++){
            fos.write("你好".getBytes());
            fos.write("\r\n".getBytes());
        }
    }
}
